package com.cnap.model.schedule;

/**
 * 策略vo
 *
 * @author xc
 **/
public class StrategyVO {
    // id
    private String id;
    // 策略名称
    private String strategyName;
    // 策略参数
    private String strategyParam;
    /**
     * 使用默认配置, 1：使用，0：不使用
     */
    private int enableDefault;
    /**
     * 扩缩容策略类型
     */
    private String scaleType;

    public StrategyVO() {
    }

    public StrategyVO(String strategyName, String strategyParam, int enableDefault, String id) {
        this.strategyName = strategyName;
        this.strategyParam = strategyParam;
        this.enableDefault = enableDefault;
        this.id = id;
    }

    public StrategyVO(String strategyName, String strategyParam, int enableDefault, String id, String scaleType) {
        this.strategyName = strategyName;
        this.strategyParam = strategyParam;
        this.enableDefault = enableDefault;
        this.id = id;
        this.scaleType = scaleType;
    }

    /**
     * get
     *
     * @return ScaleType
     */
    public String getScaleType() {
        return scaleType;
    }

    /**
     * set
     *
     * @param scaleType scaleType
     */
    public void setScaleType(String scaleType) {
        this.scaleType = scaleType;
    }

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return StrategyName
     */
    public String getStrategyName() {
        return strategyName;
    }

    /**
     * set
     *
     * @param strategyName strategyName
     */
    public void setStrategyName(String strategyName) {
        this.strategyName = strategyName;
    }

    /**
     * get
     *
     * @return StrategyParam
     */
    public String getStrategyParam() {
        return strategyParam;
    }

    /**
     * set
     *
     * @param strategyParam strategyParam
     */
    public void setStrategyParam(String strategyParam) {
        this.strategyParam = strategyParam;
    }

    /**
     * get
     *
     * @return EnableDefault
     */
    public int getEnableDefault() {
        return enableDefault;
    }

    /**
     * set
     *
     * @param enableDefault enableDefault
     */
    public void setEnableDefault(int enableDefault) {
        this.enableDefault = enableDefault;
    }

    @Override
    public String toString() {
        return "StrategyVO{" +
                "strategyName='" + strategyName + '\'' +
                ", strategyParam='" + strategyParam + '\'' +
                ", enableDefault=" + enableDefault +
                '}';
    }
}
